[INFO] cloning repository https://github.com/wordshk/zilib
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wordshk/zilib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwordshk%2Fzilib", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwordshk%2Fzilib'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 936e075242b4f397831aa92ccf66387a3ee39a6f
[INFO] fixing wordshk/zilib against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwordshk%2Fzilib" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/wordshk/zilib
[INFO] finished tweaking git repo https://github.com/wordshk/zilib
[INFO] tweaked toml for git repo https://github.com/wordshk/zilib written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/wordshk/zilib on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/wordshk/zilib already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 37d7f4d3907cd282f27bc764ed5588c00faf3984a22429feb28da6359a923a44
[INFO] running `Command { std: "docker" "start" "37d7f4d3907cd282f27bc764ed5588c00faf3984a22429feb28da6359a923a44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37d7f4d3907cd282f27bc764ed5588c00faf3984a22429feb28da6359a923a44" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37d7f4d3907cd282f27bc764ed5588c00faf3984a22429feb28da6359a923a44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37d7f4d3907cd282f27bc764ed5588c00faf3984a22429feb28da6359a923a44" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]     Checking encoding_rs_io v0.1.7
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]     Checking csv-core v0.1.11
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]     Checking regex-automata v0.4.5
[INFO] [stderr]     Checking bzip2 v0.4.4
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking serde_json v1.0.113
[INFO] [stderr]     Checking csv v1.3.0
[INFO] [stderr]     Checking zilib v0.1.10 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/cantonese.rs (1 fix)
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/data.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             PATH.take();
[INFO] [stdout]    |             ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 34 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 34 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/data.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |             let _ = PATH.set(path.to_string());
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 34 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 34 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/data.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         &PATH
[INFO] [stdout]    |         ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 39 |         &raw const PATH
[INFO] [stdout]    |          +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 34 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 34 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/data.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |             PATH.take();
[INFO] [stdout]    |             ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 70 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/data.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |             let _ = PATH.set(path.to_string());
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 70 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/data.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         &PATH
[INFO] [stdout]    |         ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 75 |         &raw const PATH
[INFO] [stdout]    |          +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 70 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/data.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |             PATH.take();
[INFO] [stdout]     |             ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 119 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 119 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/data.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let _ = PATH.set(path.to_string());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 119 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 119 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/data.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |         &PATH
[INFO] [stdout]     |         ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 124 |         &raw const PATH
[INFO] [stdout]     |          +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 119 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 119 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/data.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 340 |             PATH.take();
[INFO] [stdout]     |             ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 338 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 338 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/data.rs:341:21
[INFO] [stdout]     |
[INFO] [stdout] 341 |             let _ = PATH.set(path.to_string());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 338 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 338 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/data.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         &PATH
[INFO] [stdout]     |         ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 343 |         &raw const PATH
[INFO] [stdout]     |          +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 338 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 338 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/data.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             PATH.take();
[INFO] [stdout]    |             ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 34 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 34 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/data.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |             let _ = PATH.set(path.to_string());
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 34 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 34 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/data.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         &PATH
[INFO] [stdout]    |         ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 39 |         &raw const PATH
[INFO] [stdout]    |          +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 34 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 34 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/data.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |             PATH.take();
[INFO] [stdout]    |             ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 70 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/data.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |             let _ = PATH.set(path.to_string());
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 70 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/data.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         &PATH
[INFO] [stdout]    |         ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 75 |         &raw const PATH
[INFO] [stdout]    |          +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 70 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/data.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |             PATH.take();
[INFO] [stdout]     |             ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 119 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 119 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/data.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let _ = PATH.set(path.to_string());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 119 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 119 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/data.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |         &PATH
[INFO] [stdout]     |         ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 124 |         &raw const PATH
[INFO] [stdout]     |          +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 119 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 119 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/data.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 340 |             PATH.take();
[INFO] [stdout]     |             ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 338 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 338 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/data.rs:341:21
[INFO] [stdout]     |
[INFO] [stdout] 341 |             let _ = PATH.set(path.to_string());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 338 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 338 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/data.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         &PATH
[INFO] [stdout]     |         ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 343 |         &raw const PATH
[INFO] [stdout]     |          +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 338 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 338 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/bin/zicount.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/guess_jyutping.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/zigen.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/bin/zigen.rs (1 fix)
[INFO] [stderr]    Migrating src/bin/binary_search_file.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/bin/radical_sort.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.82s
[INFO] [stderr] crater-edition-check: zilib v0.1.10 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking zilib v0.1.10 (/opt/rustwide/workdir)
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/data.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             PATH.take();
[INFO] [stdout]    |             ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 34 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 34 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/data.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |             let _ = PATH.set(path.to_string());
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 34 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 34 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/data.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         &PATH
[INFO] [stdout]    |         ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 39 |         &raw const PATH
[INFO] [stdout]    |          +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 34 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 34 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/data.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |             PATH.take();
[INFO] [stdout]    |             ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 70 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/data.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             PATH.take();
[INFO] [stdout]    |             ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 34 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 34 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/data.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |             let _ = PATH.set(path.to_string());
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 34 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 34 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/data.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         &PATH
[INFO] [stdout]    |         ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 39 |         &raw const PATH
[INFO] [stdout]    |          +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 34 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 34 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/data.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |             PATH.take();
[INFO] [stdout]    |             ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 70 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/data.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |             let _ = PATH.set(path.to_string());
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 70 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/data.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         &PATH
[INFO] [stdout]    |         ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 75 |         &raw const PATH
[INFO] [stdout]    |          +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 70 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/data.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |             PATH.take();
[INFO] [stdout]     |             ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 119 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 119 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/data.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let _ = PATH.set(path.to_string());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 119 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 119 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/data.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |         &PATH
[INFO] [stdout]     |         ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 124 |         &raw const PATH
[INFO] [stdout]     |          +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 119 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 119 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/data.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 340 |             PATH.take();
[INFO] [stdout]     |             ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 338 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 338 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/data.rs:341:21
[INFO] [stdout]     |
[INFO] [stdout] 341 |             let _ = PATH.set(path.to_string());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 338 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 338 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/data.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         &PATH
[INFO] [stdout]     |         ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 343 |         &raw const PATH
[INFO] [stdout]     |          +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 338 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 338 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/data.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |             let _ = PATH.set(path.to_string());
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 70 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/data.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         &PATH
[INFO] [stdout]    |         ^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 75 |         &raw const PATH
[INFO] [stdout]    |          +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 70 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 70 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/data.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |             PATH.take();
[INFO] [stdout]     |             ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 119 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 119 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/data.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let _ = PATH.set(path.to_string());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 119 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 119 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/data.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |         &PATH
[INFO] [stdout]     |         ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 124 |         &raw const PATH
[INFO] [stdout]     |          +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 119 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 119 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/data.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 340 |             PATH.take();
[INFO] [stdout]     |             ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 338 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 338 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/data.rs:341:21
[INFO] [stdout]     |
[INFO] [stdout] 341 |             let _ = PATH.set(path.to_string());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 338 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 338 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/data.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         &PATH
[INFO] [stdout]     |         ^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 343 |         &raw const PATH
[INFO] [stdout]     |          +++++++++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 338 -         static mut PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout] 338 +         static PATH: OnceLock<String> = OnceLock::new();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zilib` (lib test) due to 12 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `zilib` (lib) due to 12 previous errors
[INFO] running `Command { std: "docker" "inspect" "37d7f4d3907cd282f27bc764ed5588c00faf3984a22429feb28da6359a923a44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37d7f4d3907cd282f27bc764ed5588c00faf3984a22429feb28da6359a923a44", kill_on_drop: false }`
[INFO] [stdout] 37d7f4d3907cd282f27bc764ed5588c00faf3984a22429feb28da6359a923a44
